<?php
/**
 * User: b179a9
 * Date: 10/13/11
 * Time: 9:13 PM 
 */

namespace Managers;

class Geo {

    public function getCoords($query) {
        $client = new \Lib_GeoCoords();
        $apiParams = $client->getCoords($query);
        
        $result = null;
        if($apiParams['Status']['code'] == 200) {
            $result = $apiParams['Placemark'][0]['address'];
        }
        return $result;
    }

}
